package cn.genmer.test.security.algorithm.test;

import java.util.Stack;

public class Code06_TwoStacksImplementQueue {

	public static class TwoStacksQueue {
		public Stack<Integer> stackPush;
		public Stack<Integer> stackPop;

		public TwoStacksQueue() {
			stackPush = new Stack<Integer>();
			stackPop = new Stack<Integer>();
		}

		private void pushToPop() {
			if (stackPop.isEmpty()){

			}
		}
	}

	public static void main(String[] args) {
		TwoStacksQueue test = new TwoStacksQueue();
//		test.add(1);
//		test.add(2);
//		test.add(3);
//		System.out.println(test.peek());
//		System.out.println(test.poll());
//		System.out.println(test.peek());
//		System.out.println(test.poll());
//		System.out.println(test.peek());
//		System.out.println(test.poll());
	}

}
